We need to clear the cache manually on full revalidates because
_gtk_css_change_for_child() will clear the full revalidation flags.
And then gtk_style_context_update_cache() will not do the right thing
(which is to clear itself).
GtkCssStyle *parent;
gpointer key, value;
- if (_gtk_bitmask_is_empty (parent_changes))
+ if (change == 0 && _gtk_bitmask_is_empty (parent_changes))
return;
priv = context->priv;
g_object_unref (static_style);
g_object_unref (style);
+
+ gtk_style_context_clear_cache (context);
}
else
{